/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package mancala;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;
import static org.junit.Assert.*;

/**
 *
 * @author joshuasiebenaler
 */
public class HolePlacementAlgorithmNHPTest7 {
    
    public HolePlacementAlgorithmNHPTest7() {
    }
    
    @BeforeClass
    public static void setUpClass() {
    }
    
    @AfterClass
    public static void tearDownClass() {
    }
    
    @Before
    public void setUp() {
    }
    
    @After
    public void tearDown() {
    }


  

    /**
     * Test of NextHolePlacement method, of class HolePlacementAlgorithm.
     */
    @Test
    public void testNextHolePlacement() {
        System.out.println("NextHolePlacement");
          int[] StonesInHoles = new int [16];
        
        StonesInHoles[0] = 7;
        StonesInHoles[1] = 7;
        StonesInHoles[2] = 7;
        StonesInHoles[3] = 7;
        StonesInHoles[4] = 7;
        StonesInHoles[5] = 7;
        StonesInHoles[6] = 7;
        StonesInHoles[7] = 7;
        StonesInHoles[8] = 7;
        StonesInHoles[9] = 7;
        StonesInHoles[10] = 7;
        StonesInHoles[11] = 7;
        StonesInHoles[12] = 7;
        StonesInHoles[13] = 7;
        StonesInHoles[14] = 7;
        StonesInHoles[15] = 7;

        int currenthole = 83333;
        int nexthole = 10;
        int expResult = 11;
        int result = HolePlacementAlgorithm.NextHolePlacement(StonesInHoles, currenthole, nexthole);
        assertEquals(expResult, result);
        // TODO review the generated test code and remove the default call to fail.
        
    }

    
    
}
